#include<memory>
#include<iostream>


class TcpSocket
{

};

int main()
{
    std::shared_ptr<TcpSocket> newsock = nullptr;

    if(newsock == nullptr)
    {
        std::cout<<"命中"<<std::endl;
    }
    else
    {
        std::cout<<"没命中"<<std::endl;
    }


    return 0;
}